package utils

func RemoveDuplicates(s []int) []int {
	m := make(map[int]bool)
	unique := []int{}

	for _, v := range s {
		if !m[v] {
			m[v] = true
			unique = append(unique, v)
		}
	}

	return unique
}
